package io.renren.com.qywt.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.commons.tools.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
* 订单
*
* @author jiaohj 15110414840@139.com
* @since 3.0 2022-08-05
*/
@Data
@ApiModel(value = "订单")
public class AftersaleOrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "问题单状态 0: 问题单处理中 1: 问题单终结 2: 快递不与赔付终结")
    private Integer orderStatus;
    @ApiModelProperty(value = "供应商id")
    private String supplyId;
    @ApiModelProperty(value = "供应商简称")
    private String shortName;
    @ApiModelProperty(value = "供应商名称")
    private String supplyName;
    @ApiModelProperty(value = "发货仓库")
    private String warehouseNames;
    @ApiModelProperty(value = "发货快递")
    private String deliveryNames;
    @ApiModelProperty(value = "快递单号")
    private String deliveryNo;
    @ApiModelProperty(value = "收件信息")
    private String receivingInfo;
    @ApiModelProperty(value = "处理过程说明")
    private String processExplain;
    @ApiModelProperty(value = "交易截图")
    private String tradePic;
    @ApiModelProperty(value = "订单总金额")
    private BigDecimal payAmount;
    @ApiModelProperty(value = "问题类型 0:催单 1:拦截 2:走件异常 3:修改收件信息 4:商品破损/瑕疵问题 5:显示签收未收到货 6:收货少货/错货 7:无理由拒收退回 8:双面单 9:空包 10:丢件 11:破损拒收 12:满沁补发标 13:签退件签收核实 14:错发 15:少发 16:多发 17:核实重量 18:快递反馈其他异常")
    private Integer problemType;
    @ApiModelProperty(value = "客服id")
    private Long customerId;
    @ApiModelProperty(value = "客服姓名")
    private String customerName;
    @ApiModelProperty(value = "状态  0：停用   1：正常")
    private Integer status;
    @ApiModelProperty(value = "租户编码")
    private Long tenantCode;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "删除标识  0：未删除    1：删除")
    private Integer delFlag;
    @ApiModelProperty(value = "创建者")
    private Long creator;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "更新者")
    private Long updater;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateDate;
    @ApiModelProperty(value = "是否结算运费 0：未结算 1：已结算")
    private Integer settleFlag;
    @ApiModelProperty(value = "包裹退回时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date packageReturnTime;
    @ApiModelProperty(value = "退回商品处理结果 0：已上架 1：残品报废")
    private Integer prodProcess;
    @ApiModelProperty(value = "残品及包装图片")
    private String scrapsPackPic;
    @ApiModelProperty(value = "残品与圆通沟通赔偿结果 0:快递公司责任赔偿 1:仓库责任赔偿 2:其他赔偿方案 3:暂未定赔偿方案 4:要求与财务对账核实理赔")
    private Integer payforResult;
    @ApiModelProperty(value = "其他赔偿方案备注")
    private String otherPayfor;
    @ApiModelProperty(value = "仓库赔偿客户金额")
    private BigDecimal warehousePayfee;
    @ApiModelProperty(value = "快递承担赔偿金额")
    private BigDecimal deliveryPayfee;
    @ApiModelProperty(value = "财务给商家赔付情况")
    private String financeToSupplyPayfor;
    @ApiModelProperty(value = "财务快递赔付情况")
    private String financeToDeliveryPayfor;
    @ApiModelProperty(value = "圆通客服反馈催单时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date reminderTime;
    @ApiModelProperty(value = "催单事件备注（有需备注时再填写）")
    private String reminderRemark;
    @ApiModelProperty(value = "圆通客服反馈拦截时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date interceptTime;
    @ApiModelProperty(value = "拦截结果 0：拦截失败 1：拦截成功")
    private Integer interceptResult;
    @ApiModelProperty(value = "拦截特殊备注")
    private String interceptRemark;
    @ApiModelProperty(value = "走件异常原因分析 0:仓库发错地址 1:快递走件与收件地址不一致 2:快递走件停滞")
    private Integer deliveryError;
    @ApiModelProperty(value = "仓库责任-拦截追回记录 0:已联系客服拦截 1:已联系快递继续派送")
    private Integer deliveryInterceptResult;
    @ApiModelProperty(value = "走件异常其他情况说明")
    private String deliveryRemark;
    @ApiModelProperty(value = "客户希望的处理方案 0:补发 1:退款")
    private Integer deliveryHopeProcess;
    @ApiModelProperty(value = "补发单号")
    private String deliveryReissueno;
    @ApiModelProperty(value = "修改后收件信息")
    private String modifyPickupInfo;
    @ApiModelProperty(value = "客户要求修改信息截图")
    private String modifyPicupPic;
    @ApiModelProperty(value = "圆通客服反馈修改收件时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date modifyPicupTime;
    @ApiModelProperty(value = "破损/瑕疵图片")
    private String damagePic;
    @ApiModelProperty(value = "圆通客服反馈处理结果时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date damageProcessTime;
    @ApiModelProperty(value = "三方认可的商品破损/瑕疵定责")
    private String damageAccept;
    @ApiModelProperty(value = "显示签收未到货客服反馈时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date signforFeedbackTime;
    @ApiModelProperty(value = "显示签收未到货客服反馈处理结果")
    private String signforFeedbackResult;
    @ApiModelProperty(value = "退回情况说明")
    private String rejectionInfo;
    @ApiModelProperty(value = "与圆通客服核实的包裹重量")
    private BigDecimal losePackageWeight;
    @ApiModelProperty(value = "缺货/错货定责 0:仓库责任 1:快递责任 2:其他责任")
    private Integer loseDuty;
    @ApiModelProperty(value = "缺货/错货其他责任")
    private String loseDutyRemark;
    @ApiModelProperty(value = "最终协商处理结果")
    private String loseResult;
    @ApiModelProperty(value = "双面单图片")
    private String reversiblePic;
    @ApiModelProperty(value = "双面单处理意见")
    private String reversibleResult;
    @ApiModelProperty(value = "空包图片")
    private String emptyPic;
    @ApiModelProperty(value = "空包处理意见")
    private String emptyResult;

}